Generating Event Sequence-Based Test Cases Using

نویسندگان

  • Xun Yuan
  • Atif M Memon
چکیده

4 Graphical user interfaces (GUIs) are the sole mode of interaction between end-users and 5 back-end code for almost all of today’s software applications. Because of this strategic role 6 of GUIs, their quality has become important. During GUI testing, test cases—modeled as se7 quences of user events—sample the vast input space of all possible sequences with the goal 8 of detecting faults; for effective testing, it is important to sample this space carefully. Exist9 ing techniques either sample manually or employ manually constructed abstract models—the 10 abstraction and/or subsequent test-case generation algorithms enable sampling. 11 This paper presents an alternative approach to GUI testing – it’s focus is on developing 12 a fully automatic model-driven technique to generate GUI test cases. The technique is novel 13 in that it uses feedback from the execution of a “seed test suite” on a GUI. The seed suite is 14 generated automatically using an existing structural event-interaction graph (EIG) model of 15 the GUI. During its execution, the run-time effect of each GUI event on all other events pin16 points new important event-semantic interaction (ESI) relationships between them, which are 17 used to automatically create an ESI graph (ESIG) model and generate new test cases. Together 18 with a reverse-engineering algorithm used to obtain the EIG, seed suite, ESIG, and new test 19 cases, the feedback-based technique yields a fully automatic, end-to-end GUI testing process. 20 Two independent studies on eight applications demonstrate that the feedback-based technique 21 (1) is able to significantly improve existing techniques and help identify serious problems in 22 the software and (2) the ESI relationships captured via GUI state yield test suites that most 23 often detect more faults than their code-, event-, and event-interaction-coverage equivalent 1 counterparts. 2

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Novel Approach for Deriving Test Scenarios and Test Cases from Events

Safety critical systems, real time systems, and event-based systems have a complex set of events and their own interdependency, which makes them difficult to test ma Safety critic Safety critical systems, real time systems, and event-based systems have a complex set of events and their own interdependency, which makes them difficult to test manually. In order to cut down on costs, save time, an...

متن کامل

Defining and Evaluating Test Suite Consolidation for Event Sequence-based Test Cases

Title of dissertation: Defining and Evaluating Test Suite Consolidation for Event Sequence-based Test Cases Penelope Brooks, Doctor of Philosophy, 2009 Dissertation directed by: Professor Atif M. Memon Department of Computer Science This research presents a new test suite consolidation technique, called CONTEST, for automated GUI testing. A new probabilistic model of the GUI is developed to all...

متن کامل

A Comparative Study on Test Case Generation of Concurrent Programs

This paper deals with a comparative study on testing of concurrent programs based on different techniques. The various challenges in testing concurrent programming are: defining test coverage criteria based on control flow, generating control flow graph of nondeterministic programs, investigating the applicability of sequential testing criteria to parallel program testing etc. For solving these...

متن کامل

Generating Event-Sequence Test Cases by Answer Set Programming with the Incidence Matrix

The effective use of ASP solvers is essential for enhancing efficiency and scalability. The incidence matrix is a simple representation used in Constraint Programming (CP) and Integer Linear Programming for modeling combinatorial problems. Generating test cases for event-sequence testing is to find a sequence covering array (SCA). In this paper, we consider the problem of finding optimal sequen...

متن کامل

A Novel prioritization Algorithm Model based Test-Suite Generation using Regression Testing

The fully automatic Graphical User Interface tool for any application using novel model based test suite generation techniques for a GUI. They are unable to control response time and time intervals are based on relationship between GUI events handlers and test cases with their responsibilities. We present a novel prioritization algorithm that enhances event handlers for the automated GUI tool. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009